package com.shop.cereshop.admin.dao.versions;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.commons.domain.versions.CereAgreement;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface CereAgreementDAO extends BaseMapper<CereAgreement> {

    List<CereAgreement> selectPageByIdOrName(@Param("versionType") String versionType, @Param("contentId") Long contentId);
}
